<#include "../../ajaxPage.ftl" />
<#include "../../display.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th>开始日期</th>
        <th>结束日期</th>
        <th>体检卡号</th>
        <th>门诊ID号</th>
        <th>主要问题</th>
        <th>入会需求</th>
        <th>促会医生</th>
        <th>配合度</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <#if vipXxbsTable.rows??>
        <#list vipXxbsTable.rows as vipXxb>
        <tr>

            <td>${vipXxb.startTime!''}</td>
            <td>${vipXxb.endTime!''}</td>
            <td>${vipXxb.tjId!''}</td>
            <td>${vipXxb.mzId!''}</td>
            <#if vipXxb.problem??>
                <td>
                    <#list vipXxb.problem?split(",") as values>
                        <#if values_index == ((vipXxb.problem?split(","))?size - 1)>
                            <@display list=problemList value="${values!''}"/>
                        <#else>
                            <@display list=problemList value="${values!''}"/>,
                        </#if>
                    </#list></td>
            <#else>
                <td>${vipXxb.problem!''}</td>
            </#if>
            <td>${vipXxb.requirements!''}</td>
            <td>${vipXxb.promoteDoctor!''}</td>
        <#--<td>${vipXxb.cooperationDegree!''}</td>-->
            <td>
                <@display list=coopeateList value="${vipXxb.cooperationDegree!''}"/>
            </td>
            <td>
                <a class="btn btn-green btn-radio nopadding" onclick="return popAddOrModify(${vipXxb.id?c});"
                   title="编辑"><i class="fa fa-edit"></i></a>
        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<#if vipXxbsTable??>
    <@page table=vipXxbsTable formId="search_vipXxb_table" contentId="tableContent_CustomRel"/>
</#if>
